package com.hu.task;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling//开启基于注解的
@EnableAsync//开启异步注解功能
@SpringBootApplication
public class Day09SpringbootTaskApplication {

    public static void main(String[] args) {
        SpringApplication.run(Day09SpringbootTaskApplication.class, args);
    }

}
